<div class="navbar">
	<div class="navbar-inner">
		<a class="brand" href="index.php">Admin</a>
		<ul class="nav">
			<li class="dropdown active">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-tags"></i> Products<b class="caret"></b></a>
				<ul class="dropdown-menu">
					<li><a href="product_list_v2.php">产品列表</a></li>
					<li><a href="product_order.php">产品排序</a></li>
				</ul>
			</li>
			<!-- <li><a href="settings.php"><i class="icon-wrench"></i> Settings</a></li> -->
			<!-- <li><a href="product_order.php"><i class="icon-tags"></i> Product</a></li> -->
		</ul>
		<ul class="nav pull-right">
			<li class="hide" id="login"><a href="login.php"><i class="icon-user"></i> Login</a></li>
			<li class="hide" id="logout"><a href="logout.php"><i class="icon-off"></i> Logout</a></li>
		</ul>
	</div>
</div> <!-- end navbar -->
<script type="text/javascript">
	if (app.user) {
		$('#logout').show();
	} else {
		$('#login').show();
	}
</script>